from CloudEngine.core.TLine import TLine
from CloudEngine.Math.Vector3 import Vector3

line = TLine(Vector3(0, 0, 0), Vector3(0, 10, 0))
r = line.distanceFromPoint(Vector3(20, 0, 0))
print(r == 20.0)
